<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::DOTMOD类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1_d_o_t_m_o_d.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classpcl_1_1_d_o_t_m_o_d-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::DOTMOD类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>Template matching using the <a class="el" href="classpcl_1_1_d_o_t_m_o_d.html" title="Template matching using the DOTMOD approach.">DOTMOD</a> approach.  
 <a href="classpcl_1_1_d_o_t_m_o_d.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="dotmod_8h_source.html">dotmod.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aeb929ec4e72fd6dc85a4d1e0448f66c8"><td class="memItemLeft" align="right" valign="top"><a id="aeb929ec4e72fd6dc85a4d1e0448f66c8"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_d_o_t_m_o_d.html#aeb929ec4e72fd6dc85a4d1e0448f66c8">DOTMOD</a> (size_t template_width, size_t template_height)</td></tr>
<tr class="memdesc:aeb929ec4e72fd6dc85a4d1e0448f66c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor <br /></td></tr>
<tr class="separator:aeb929ec4e72fd6dc85a4d1e0448f66c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb564d62ba953b776b96105742344d6f"><td class="memItemLeft" align="right" valign="top"><a id="aeb564d62ba953b776b96105742344d6f"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_d_o_t_m_o_d.html#aeb564d62ba953b776b96105742344d6f">~DOTMOD</a> ()</td></tr>
<tr class="memdesc:aeb564d62ba953b776b96105742344d6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor <br /></td></tr>
<tr class="separator:aeb564d62ba953b776b96105742344d6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc84a7306170fad48a304ff927d1eed3"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_d_o_t_m_o_d.html#acc84a7306170fad48a304ff927d1eed3">createAndAddTemplate</a> (const std::vector&lt; <a class="el" href="classpcl_1_1_d_o_t_modality.html">DOTModality</a> * &gt; &amp;modalities, const std::vector&lt; <a class="el" href="classpcl_1_1_mask_map.html">MaskMap</a> * &gt; &amp;masks, size_t template_anker_x, size_t template_anker_y, const <a class="el" href="structpcl_1_1_region_x_y.html">RegionXY</a> &amp;region)</td></tr>
<tr class="memdesc:acc84a7306170fad48a304ff927d1eed3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a template from the specified data and adds it to the matching queue.  <a href="classpcl_1_1_d_o_t_m_o_d.html#acc84a7306170fad48a304ff927d1eed3">更多...</a><br /></td></tr>
<tr class="separator:acc84a7306170fad48a304ff927d1eed3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f8cb7dacace21c4654da515ff511bc8"><td class="memItemLeft" align="right" valign="top"><a id="a3f8cb7dacace21c4654da515ff511bc8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>detectTemplates</b> (const std::vector&lt; <a class="el" href="classpcl_1_1_d_o_t_modality.html">DOTModality</a> * &gt; &amp;modalities, float template_response_threshold, std::vector&lt; <a class="el" href="structpcl_1_1_d_o_t_m_o_d_detection.html">DOTMODDetection</a> &gt; &amp;detections, const size_t bin_size) const</td></tr>
<tr class="separator:a3f8cb7dacace21c4654da515ff511bc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b17cf6fc0c012bbfcae1275ac2b4fd6"><td class="memItemLeft" align="right" valign="top"><a id="a6b17cf6fc0c012bbfcae1275ac2b4fd6"></a>
const <a class="el" href="structpcl_1_1_dense_quantized_multi_mod_template.html">DenseQuantizedMultiModTemplate</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>getTemplate</b> (size_t template_id) const</td></tr>
<tr class="separator:a6b17cf6fc0c012bbfcae1275ac2b4fd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8080a00efbae6517940baf7ad40dca69"><td class="memItemLeft" align="right" valign="top"><a id="a8080a00efbae6517940baf7ad40dca69"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><b>getNumOfTemplates</b> ()</td></tr>
<tr class="separator:a8080a00efbae6517940baf7ad40dca69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae343e4717f92e8e85ea3cc5d95a0a6d7"><td class="memItemLeft" align="right" valign="top"><a id="ae343e4717f92e8e85ea3cc5d95a0a6d7"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>saveTemplates</b> (const char *file_name) const</td></tr>
<tr class="separator:ae343e4717f92e8e85ea3cc5d95a0a6d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17b1d6c25e9628415123682ff3aa1899"><td class="memItemLeft" align="right" valign="top"><a id="a17b1d6c25e9628415123682ff3aa1899"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>loadTemplates</b> (const char *file_name)</td></tr>
<tr class="separator:a17b1d6c25e9628415123682ff3aa1899"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7453887a0f51fe36268eda1ed5bf3cb0"><td class="memItemLeft" align="right" valign="top"><a id="a7453887a0f51fe36268eda1ed5bf3cb0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>serialize</b> (std::ostream &amp;stream) const</td></tr>
<tr class="separator:a7453887a0f51fe36268eda1ed5bf3cb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a477d5b7f47a235c3962d4cb63cc51810"><td class="memItemLeft" align="right" valign="top"><a id="a477d5b7f47a235c3962d4cb63cc51810"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>deserialize</b> (std::istream &amp;stream)</td></tr>
<tr class="separator:a477d5b7f47a235c3962d4cb63cc51810"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:ac0a2cd7262522dcac10cea7abbf3f0ac"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_d_o_t_m_o_d.html#ac0a2cd7262522dcac10cea7abbf3f0ac">template_width_</a></td></tr>
<tr class="separator:ac0a2cd7262522dcac10cea7abbf3f0ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a161c35418b5546301066b9bc7f9be390"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_d_o_t_m_o_d.html#a161c35418b5546301066b9bc7f9be390">template_height_</a></td></tr>
<tr class="separator:a161c35418b5546301066b9bc7f9be390"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9a1cc268047c92d06224c3d9e2f314f"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="structpcl_1_1_dense_quantized_multi_mod_template.html">DenseQuantizedMultiModTemplate</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_d_o_t_m_o_d.html#ac9a1cc268047c92d06224c3d9e2f314f">templates_</a></td></tr>
<tr class="separator:ac9a1cc268047c92d06224c3d9e2f314f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>Template matching using the <a class="el" href="classpcl_1_1_d_o_t_m_o_d.html" title="Template matching using the DOTMOD approach.">DOTMOD</a> approach. </p>
<dl class="section author"><dt>作者</dt><dd>Stefan Holzer, Stefan Hinterstoisser </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="acc84a7306170fad48a304ff927d1eed3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc84a7306170fad48a304ff927d1eed3">&#9670;&nbsp;</a></span>createAndAddTemplate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t pcl::DOTMOD::createAndAddTemplate </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="classpcl_1_1_d_o_t_modality.html">DOTModality</a> * &gt; &amp;&#160;</td>
          <td class="paramname"><em>modalities</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="classpcl_1_1_mask_map.html">MaskMap</a> * &gt; &amp;&#160;</td>
          <td class="paramname"><em>masks</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>template_anker_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>template_anker_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structpcl_1_1_region_x_y.html">RegionXY</a> &amp;&#160;</td>
          <td class="paramname"><em>region</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a template from the specified data and adds it to the matching queue. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">modalities</td><td></td></tr>
    <tr><td class="paramname">masks</td><td></td></tr>
    <tr><td class="paramname">template_anker_x</td><td></td></tr>
    <tr><td class="paramname">template_anker_y</td><td></td></tr>
    <tr><td class="paramname">region</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a161c35418b5546301066b9bc7f9be390"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a161c35418b5546301066b9bc7f9be390">&#9670;&nbsp;</a></span>template_height_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t pcl::DOTMOD::template_height_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>template height </p>

</div>
</div>
<a id="ac0a2cd7262522dcac10cea7abbf3f0ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0a2cd7262522dcac10cea7abbf3f0ac">&#9670;&nbsp;</a></span>template_width_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t pcl::DOTMOD::template_width_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>template width </p>

</div>
</div>
<a id="ac9a1cc268047c92d06224c3d9e2f314f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9a1cc268047c92d06224c3d9e2f314f">&#9670;&nbsp;</a></span>templates_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="structpcl_1_1_dense_quantized_multi_mod_template.html">DenseQuantizedMultiModTemplate</a>&gt; pcl::DOTMOD::templates_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>template storage </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>recognition/include/pcl/recognition/<a class="el" href="dotmod_8h_source.html">dotmod.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><a class="el" href="classpcl_1_1_d_o_t_m_o_d.html">DOTMOD</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
